package com.zbkj.front.service.impl;

import com.zbkj.dal.base.constants.GroupDataConstants;
import com.zbkj.front.model.vo.PageImageVO;
import com.zbkj.front.service.SystemV2Service;
import com.zbkj.service.service.SystemGroupDataService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SystemV2ServiceImpl implements SystemV2Service {

    @Resource
    private SystemGroupDataService systemGroupDataService;

    @Override
    public PageImageVO indexPremiumExperienceIcon() {
        return new PageImageVO(systemGroupDataService.getListMapByGid(GroupDataConstants.GROUP_DATA_ID_USER_CENTER_MENU_V2));
    }

    @Override
    public PageImageVO spreadBannerList() {
        return new PageImageVO(systemGroupDataService.getListMapByGid(GroupDataConstants.GROUP_DATA_ID_SPREAD_BANNER_LIST_V2));
    }
}
